<?php
namespace Admin\Models\school;

use Admin\Models\BaseModel;

class XhschoolExamine extends BaseModel
{

    /**
     *
     * @var integer
     * @Primary
     * @Identity
     * @Column(type="integer", length=11, nullable=false)
     */
    public $iSEId;

    /**
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iImpTchUse;


    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     *
     */
    public $mTchJSon;

    /**
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iExcTchUse;
    /**
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iSchoolId;

    /**
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iLogNum;

    /**
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iRunCaseNum;

    /**
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iTaskNum;
    /**
     *
     * @var string
     * @Column(type="string",length=25, nullable=true)
     */
    public $sMonth;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iTchUseRate;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iRunExamine;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iTchShareNum;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iPClassNum;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iTchActiveRate;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iStuActiveRate;

    /**
     *
     * @var integer
     * @Column(type="integer",length=11, nullable=true)
     */
    public $iKeyTchUse;

    /**
     *
     * @var integer
     * @Column(type="integer", length=4, nullable=true)
     */
    public $bDelete;

    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $tCreateDate;

    /**
     *
     * @var integer
     * @Column(type="integer", length=20, nullable=true)
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $tLastModifyDate;

    /**
     *
     * @var integer
     * @Column(type="integer", length=20, nullable=true)
     */
    public $iLastModifyUserId;


    /**
     * 运营案例json
     *
     * @var string
     *  @Column(type="string", nullable=true)
     *
     * create by dale 20180423
     */
    public $mRunCase;

    /**
     * 反馈json
     *
     * @var string
     *  @Column(type="string", nullable=true)
     *
     * create by dale 20180423
     */
    public $mFeedback;

    public $iExCaseNum;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSchool_Examine';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolExamine[]|XhschoolExamine
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolExamine
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}
